package com.immortal.core.configure.storage;

import com.google.common.collect.Maps;
import lombok.Data;

import java.util.Map;


/**
 * <p>TODO
 *
 * @author wind
 * @version 1.0
 */
@Data
public class DefaultAliyun {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    private String prefix;

    public Map buildMap() {
        Map map = Maps.newHashMap();
        map.put("endpoint", endpoint);
        map.put("accessKeyId", accessKeyId);
        map.put("accessKeySecret", accessKeySecret);
        map.put("bucketName", bucketName);
        return map;
    }
}
